package com.app.shortvideo.database

import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.app.shortvideo.MApplication

@Database(entities = [LocationEntry::class], version = 1,exportSchema=false)
abstract class AppDatabase : RoomDatabase() {
    abstract fun locationEntryDao(): LocationEntryDao

    companion object {
        var appDb = Room.databaseBuilder(MApplication.mInstance, AppDatabase::class.java, "mossDB.db").build()
    }
}